let url = window.location.href;
let env = {};
if (url.indexOf('localhost')>-1) {
    env.sourceHost = 'http://www.office2.cn';  //静态资源路径
} else {
    env.sourceHost = location.origin;
}
export default env;